package org.millioncall.yueyoga.admin.dao;

import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.Recharge;

public interface RechargeDAO {
	public void recharge(Recharge recharge);
	
	public PaginatedList<Recharge> findInPage(Integer pageNo, Integer pageSize, Map<String, Object> map);
	
	public PaginatedList<Recharge> findInPage(Integer pageNo, Integer pageSize, String[] paramNames, String[] paramValues);
	
	public PaginatedList<Recharge> findByMemberId(Integer start, Integer limit, Integer memberId);
	
	public PaginatedList<Recharge> findTiquByMemberId(Integer start, Integer limit, Integer memberId);
	
	public int insert(Recharge recharge);

	public PaginatedList<Recharge> findRechargeByMap(int start, int limit,
			Map<String, Object> map);

}
